package com.aizuda.boot.modules.business.contract.entity.dto;

import com.aizuda.boot.modules.common.constant.enums.EmptyAssigneeEnum;
import com.aizuda.boot.modules.common.constant.enums.RepeatAssigneeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName WorkflowAdvancedConfig
 * @Version 1.0
 * @Date 2025/6/4 11:23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "流程高级配置")
public class WorkflowAdvancedConfigDTO {

    @Schema(description = "流程ID")
    private Integer id;

    @Schema(description = "流程名称")
    private String workflowName;

    @Schema(description = "流程类型ID")
    private Integer typeId;

    @Schema(description ="合同流程范围,合同id，多个用','分隔")
    private String scope;

    @Schema(description = "空审批人策略")
    private EmptyAssigneeEnum emptyState;

    @Schema(description = "指定用户时用户id")
    private List<Long> userId;

    @Schema(description = "重复审批人策略")
    private RepeatAssigneeEnum repeatState;

    @Schema(description = "指定跳过节点时，节点id")
    private List<Integer> nodeId;
}
